<%--
  Created by IntelliJ IDEA.
  User: SYHT
  Date: 2017/8/18
  Time: 11:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--解析表达式--%>
<%@ page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="myPage" uri="/xianzhiOA/pageTag" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <jsp:include page="dist.jsp"/>
</head>

<body>
<div class="all">
    <jsp:include page="foreEnd.jsp"/>

    <div class="center">
        <jsp:include page="nav.jsp"/>
        <!--内容-->
        <div class="right" id="all_right">
            <!--<div class="allblue">-->
            <!--<h4>业务总览</h4>-->
            <!--</div>-->

            <form id="hidForm" action="${pageContext.request.contextPath}/XzLogin/selAllLoginEmp.emp" class="big">
                <div class="every_top">
                    <h3>招聘中心</h3> <span>招聘中心</span> &nbsp;/ &nbsp;<span>个人首页</span>

                </div>
                <div style="font-size: 14px">

                </div>
                <div class="all_select">
                    <input type="text" class="all_input" placeholder="按什么搜索">
                    <input type="text" class="all_input" placeholder="按什么搜索">
                    <input type="text" class="all_input" placeholder="按什么搜索">
                    <input type="text" class="all_input" placeholder="按什么搜索">
                    <button class="all_button" type="submit">搜索</button>
                </div>

                <div class="allform">

                    <table class="table-fix table table-striped">
                        <thead>
                        <tr>
                            <th width="120">账号</th>
                            <th width="120">密码</th>
                            <th width="120">登录类型</th>
                            <th width="120">邮箱</th>
                            <th width="120">激活状态</th>
                            <th width="150">操作</th>
                        </tr>
                        </thead>

                        <tbody>
                        <c:forEach var="log" items="${loginList}">
                            <tr>
                                <td class="ww">${log.loginCount}</td>
                                <td class="ww">${log.loginPassword}</td>
                                <td class="ww">${log.loginType}</td>
                                <td class="ww">${log.loginEmail}</td>
                                <td class="ww">${log.loginActive}</td>
                                <td class="ww">
                                        <%--<a href="" class="all_a">分配</a>--%>
                                    <a href="${pageContext.request.contextPath}/XzLogin/selLoginByLoginId.emp?LoginId=${log.loginId}&a=1" class="all_a" target="view_window">详情</a>
                                    <a href="${pageContext.request.contextPath}/XzLogin/selLoginByLoginId.emp?LoginId=${log.loginId}&a=2" class="all_a" target="view_window">修改</a>
                                        <%--<a href="#" class="all_a">下载</a>--%>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                </div>


            <!--分页符-->
            <ul class="pagination">
                <input id="infPage" type="hidden" name="page" value="${page}">
                <myPage:paging length="4" page="${page}" pages="${pages}"/>
            </ul>
            </form>
        </div>

    </div>
</div>
<script>
    function pToSub(page) {
        var infpage = parseInt(document.getElementById("infPage").value);
        if (page != infpage && page - infpage > 0 || page != infpage && page - infpage < 0) {
            document.getElementById("infPage").value = page;
            document.getElementById("hidForm").submit();
        }
    }
</script>
<script src="${pageContext.request.contextPath}/dist/backEnd3/js/tab.js"></script>
</body>
</html>